package ccmis.finance.capital.dao;

import java.util.List;

import ccmis.finance.capital.entity.LendContract;
import jfox.platform.infrastructure.DataAccessObject;

/**
 * @author <a href="mailto:ren.yingb@gmail.com">Ren Yingbo</a>
 */
public interface LendContractDAO extends DataAccessObject {

	 void insertLendContract(LendContract lendContract);
	 
	 int deleteLendContract(long id);
	 
	 int updateLendContract(LendContract lendContract);
	 
	 LendContract getLendContractById(long id);
	 
	 List<LendContract> getAllLendContracts();
}
